package cdu.sl.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "邮箱验证码登录表单实体")
public class LoginByVerCodeFormDTO {

    @ApiModelProperty(value = "邮箱地址", required = true)
    @NotNull(message = "邮箱地址")
    private String email;

    @NotNull(message = "验证码不能为空")
    @ApiModelProperty(value = "用户名", required = true)
    private String verificationCode;


    @ApiModelProperty(value = "是否记住我", required = false)
    private Boolean rememberMe = false;


}
